package com.zy.je.common.mybatis.ext.activerecord;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zy
 */
@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
@EqualsAndHashCode(callSuper = true)
public class LogicDeleteArModel<I extends Serializable, T extends BaseArModel<I,?>> extends BaseArModel<I,T>{
    /**
     * 0-正常
     */
    @TableLogic(delval = "null")
    private String deleteFlag;
    /**
     * 删除时间
     */
    private Date deleteTime;
//    /**
//     * 删除者
//     */
//    private String deleteBy;
//    /**
//     * 删除操作员
//     */
//    private String deleteUsername;


}